<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        
    </style>
</head>
<body>
    <form action="">
        用户名：<input type="text" required name="a"><br>
        密码：<input type="text" required id="pass" name="b"><br>
        重复密码：<input type="text" required equalTo="#pass"  name="c"><br>
        邮箱：<input type="text" required email=true  name="d"><br>
        手机号：<input type="text" required digits=true maxlength="11" minlength="11"  name="e"><br>
        <input type="submit" value="提交">
    </form>
</body>
<script src="../../jquery.js"></script>
<script src="./jquery.validate.js"></script>
<script src="./jquery.validate.messages_zh.js"></script>
<script>

    $("form").validate();

</script>
</html>